<template>
  <el-table border :data="data" style="width: 100%" :height="height" >
    <el-table-column prop="itemName"  />
    <el-table-column prop="sgCount" label="事故起数" />
    <el-table-column prop="sgCountYOY" label="增减百分比" />
    <el-table-column prop="sgCountRatio" label="占总数" />
    <el-table-column prop="swrsCount" label="死亡人数" />
    <el-table-column prop="swrsCountYOY" label="增减百分比" />
    <el-table-column prop="swrsCountRatio" label="占总数" />
    <el-table-column prop="ssrsCount" label="受伤人数" />
    <el-table-column prop="ssrsCountYOY" label="增减百分比" />
    <el-table-column prop="ssrsCountRatio" label="占总数" />
  </el-table>
</template>

<script setup>
defineProps({
  data: {
    type: Array
  },
  height: {
    type: Number,
    default: 500
  },
})
</script>

<style lang="less" scoped></style>
